Skip to content

Conversation

@bakura10
Copy link
Contributor

@bakura10 bakura10 commented Apr 4, 2022

Hi :),

I am submitting a PR to add a bit more intermediary values on the lower end. I would understand if you would prefer to not merge this but let me explain the use case.

We plan to use Tailwind in the context of themes (so we are reselling a project with the code for developers to extend it). This means that some people may not be familiar with Tailwind at all. As a consequence, we would like to ship a config file that is as much as possible "barebones", to ease the curve so that developers who want to extend our themes can do so without having to also learn 1000 lines of config. The config cannot be avoided in some cases of course, but we feel that for spacing, we want to limit them as much as possible as it creates noise in the file.

With JIT it does not feel like a big problem, and values like 18px (and some intermediary values) on the lower end are often wanted by designers.

@adamwathan
Copy link
Member

Hey thanks for the suggestion! Going to say no to this for now as I really don't want the default spacing values to get so close together throughout the scale that it starts to feel like there's no really any constraints. I would suggest just adding these values to your config or using arbitrary values like w-[4.5rem] when you need them 👍🏻 Thanks!

@adamwathan adamwathan closed this Apr 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants